/*    */ package com.iris.egrant.orm;
/*    */ 
/*    */ import java.io.Serializable;
/*    */ import javax.persistence.Column;
/*    */ import javax.persistence.GeneratedValue;
/*    */ import javax.persistence.GenerationType;
/*    */ import javax.persistence.Id;
/*    */ import javax.persistence.MappedSuperclass;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ @MappedSuperclass
/*    */ public abstract class IdEntity
/*    */   implements Serializable
/*    */ {
/*    */   private static final long serialVersionUID = 1327422648259385637L;
/*    */   private Long id;
/*    */   
/*    */   @Id
/*    */   @Column(name = "ID")
/*    */   @GeneratedValue(strategy = GenerationType.SEQUENCE)
/*    */   public Long getId() {
/* 29 */     return this.id;
/*    */   }
/*    */   
/*    */   public void setId(Long id) {
/* 33 */     this.id = id;
/*    */   }
/*    */ }


/* Location:              D:\文件kjt\WEB-INF\lib\egrant-core-2.2.20240205.1659.jar!\com\iris\egrant\orm\IdEntity.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */